<script>
	import http from './src/mixin/http.js'
	import apis from './src/apis.js'
	import {mapActions} from 'vuex'
	
	export default {
		mixins: [http],
		methods: {
			...mapActions({
				'setConfig': 'setConfig'
			})
		},
		onLaunch: function() {
			this.http(apis['OptionConfig_GetConfig']).then(res => {
				this.setConfig(res)
			})
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
